Re: [Rd] Where to drop a python script?

2013-11-01 Thread Paul Gilbert
Jonathan Below is a python script I have been playing with for extracing some system information and additional information about modules that I need to import in my TSjson package. My intention is to put R code in tests/ that will check this before going on to do other tests, but I have not

Re: [Rd] Where to drop a python script?

2013-11-01 Thread Brian Lee Yung Rowe
If that's all you want to do, you can ignore the headache by just calling system("python -V"). Then you don't need to save any python scripts. On Nov 1, 2013, at 10:17 AM, Jonathan Greenberg wrote: > This was actually the little script I was going to include (prompting me to > ask the questio

Re: [Rd] cat with backspace and newline characters

2013-11-01 Thread Rui Barradas
Hello, Can't reproduce it, there must be something with your console. I get > cat("abc\b") ab> cat("abc\b\n") ab > Hope this helps, Rui Barradas Em 01-11-2013 11:06, Renaud Gaujoux escreveu: Hi, when mixing newline and backspace characters I get the following output (see below). In the sec

Re: [Rd] Where to drop a python script?

2013-11-01 Thread Jonathan Greenberg
This was actually the little script I was going to include (prompting me to ask the question): a test for the python version number. Save this (between the ***s) as e.g. python_version.py: *** import sys print(sys.version_info) *** I've done almost no python coding, so I was going to call this

Re: [Rd] cat with backspace and newline characters

2013-11-01 Thread Renaud Gaujoux
I don't know what the normal behaviour is. I was expecting the remaining of the line to be wiped out, but you must be right: the character 'c' is already printed, the cursor moves back one position and go to the next line, leaving the 'c' in place. But what about this one: > cat("abc\b\b\b") > c

[Rd] cat with backspace and newline characters

2013-11-01 Thread Renaud Gaujoux
Hi, when mixing newline and backspace characters I get the following output (see below). In the second call, the backspace character is simply not applied. Is this normal behaviour? Thank you. > cat("abc\b") ab> cat("abc\b\n") abc > [[alternative HTML version deleted]] _