Displaying 5 results from an estimated 5 matches for "temp_".
Did you mean:
temp
2017 Dec 02
2
source files in temp environment
...essy.
I'm wondering if one solution might be to source the code in a temporary
environment, assign outputs of interest to the .GlobalEnv with <<-, and
then delete the environment afterwards. One way to do this:
file.r:
temp1 = 1
temp2 = 2
desired_var <<- temp1 + temp2
console:
temp_e = new.env()
source("file.r", local = temp_e)
rm(temp_e)
It's a bit messy to create and delete environments, so I tried what
others have referred to:
source("file.r", local = attach(NULL))
This, however, results in a persistent "NULL" environment in the search...
2017 Dec 02
0
source files in temp environment
...e to source the code in a temporary
> environment, assign outputs of interest to the .GlobalEnv with <<-, and
> then delete the environment afterwards. One way to do this:
>
> file.r:
> temp1 = 1
> temp2 = 2
> desired_var <<- temp1 + temp2
>
> console:
> temp_e = new.env()
> source("file.r", local = temp_e)
> rm(temp_e)
>
> It's a bit messy to create and delete environments, so I tried what
> others have referred to:
>
> source("file.r", local = attach(NULL))
>
> This, however, results in a persistent...
2012 Dec 28
3
Merging data tables
...d pasting for a day or more?
Data formats are:
bat activity
Date Time Label Number
6/3/2011 10:01 Tadbra 2
6/3/2011 10:02 Tadbra 4
6/3/2011 10:08 Tadbra 1
6/3/2011 10:13 Tadbra 2
6/3/2011 10:49 Tadbra 2
6/3/2011 10:51 Tadbra 2
6/3/2011 10:52 Tadbra 4
Weather:
date time Temp_I Temp_E RH mph_a mph_x
6/3/2011 0:00 15 15.7 30.4 4.4 15.5
6/3/2011 0:30 15 15.2 31.6 5.7 11.2
6/3/2011 1:00 15 15.1 31.3 10.3 17.5
6/3/2011 1:30 14 13.6 44.5 4.7 12.1
6/3/2011 2:00 12.5 13.2 37.9 2.1 6.5
6/3/2011 2:30 12.5 13.5 35.3 6.3 10.1
6/3/2011 3:00...
2005 Sep 13
0
inconsistant decimal marker with write.table
...TRUE)
write.csv2(test, "out2.csv")
First 5 lines of out1.csv:
"trait";"tfi";"sto_wt";"pfi2";"pfi_st";"focc";"sed";"mob";"date";"latitu
de";"longitud";"hre_deb";"temp_fon";"strate";"lat.km";"long.km";"temp_.2
5C"
10;0,764;5,1;0.007;0,213;0,143;0,048;0,095;"05/08/99";
47,49;-58,9267;"20:11";4,9;302;-167,791200000000;230,761439786593;4,88
106;0,566;3,3;0.089;4,762;0,25;0;0,25;"14/08/99";...
2013 Feb 01
2
Nested loop and output help
Hello Everyone,
My name is Thomas and I have been using R for one week. I recently found
your site and have been able to search the archives of posts. This has
given me some great information that has allowed me to craft an initial
design to an inquiry I would like to make into the breakdown of McNemar's
test. I have read an intro to R manual and the posting guides and hope I am
not violating