[Geany-Users] copying and pasting to R terminal when using ../
Matthew Brush
mbrush at xxxxx
Tue Oct 8 23:59:28 UTC 2019
On 2019-10-08 9:37 a.m., Magicaltats Bianchi wrote:
> Hello,
>
> I am using Geany as my favourite IDE for debugging R code under Linux
> (Ubuntu 18.04). I have noticed that if I copy and paste say a simple
> command line below it works
>
> data = read.csv("/home/marco/R/data/mydata.csv")
>
> but if I use the line below it does not work because it cannot find the path
>
> data = read.csv(".//data/mydata.csv")
>
> Have anyone else in the forum experienced a similar problem? Thank you very
> much for help.
>
Are you pasting into the built-in terminal? If so, which directory is it
changed into? Assuming it's in the directory where "data" directory is
in (ie. `/home/marco/R`), it should work even with the extra slash in
the path.
Regards,
Matthew Brush
More information about the Users
mailing list