Displaying 3 results from an estimated 3 matches for "sourceenvironment".
2018 Jan 29
2
bug [methods]: double execution of `insertSource` within the same session does not work
...------
I looked into it a bit myself, in case you are interested:
```R
# lines 20-22
if (is(source, "environment"))
env <- source
else env <- evalSource(source, package, FALSE)
# We're in the second case I guess
# Browse[2]> env
# Object of class "sourceEnvironment"
# Source environment created 2017-12-01 05:19:51
# For package "gmapsdistance"
# From source file "gmapsdistancefix.R"
# later, before line 52:
x = env
Browse[2]> package
[1] "gmapsdistance"
# evaluate 52
packageSlot(env) <- package
# objects x and env...
2018 Jan 29
0
bug [methods]: double execution of `insertSource` within the same session does not work
...you are interested:
>
> ```R
> # lines 20-22
> if (is(source, "environment"))
> env <- source
> else env <- evalSource(source, package, FALSE)
> # We're in the second case I guess
>
> # Browse[2]> env
> # Object of class "sourceEnvironment"
> # Source environment created 2017-12-01 05:19:51
> # For package "gmapsdistance"
> # From source file "gmapsdistancefix.R"
>
>
> # later, before line 52:
> x = env
> Browse[2]> package
> [1] "gmapsdistance"
>
> # evaluate 52...
2012 Aug 22
1
loading both RPostgreSQL and RSQLite leads to problems
..."ObjectsWithPackage"
object="oldClass"
object="PostgreSQLDriver"
(inherited from: object="dbObjectId")
object="refClassRepresentation"
object="refMethodDef"
object="refObjectGenerator"
object="signature"
object="sourceEnvironment"
object="standardGeneric"
(inherited from: object="genericFunction")
object="traceable"
(2)
> showMethods('show')
Function: show (package methods)
object="ANY"
object="classGeneratorFunction"
object="classRepresentation&quo...