Displaying 5 results from an estimated 5 matches for "temp_e".
Did you mean:
temp_c
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
...g 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 12 12.1...
2005 Sep 13
0
inconsistant decimal marker with write.table
Hi,
My problem does not happen all the time, nor with all files I save to
csv format. I can send my test file (format rda or csv) to whoever
would like to replicate (and hopefully explain) my problem.
In short, I have a dataset with mostly numerical variables. One of my
variable is called pfi2 and is definitely numerical, as shown by this:
> summary(test$pfi2)
Min. 1st Qu. Median
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